package com.estun.backroundManagementService.modules.product.model.res;
/*
 * @author pengbo
 * @date 2024/4/22 18:24
 * @description
 */


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class ProductValueToDetailPage {


    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "产品ID")
    private Long productId;

    @ApiModelProperty(value = "参数所属工位")
    private String stationId;

    @ApiModelProperty(value = "控制项目ID")
    private Long productProcessStepId;

    @ApiModelProperty(value = "参数类型")
    private String type;

    @ApiModelProperty(value = "参数名称")
    private String name;

    @ApiModelProperty(value = "实际检测值")
    private Float value;

    @ApiModelProperty(value = "视觉图片地址")
    private String url;

    @ApiModelProperty(value = "状态 -1->不合格 1->合格")
    private Integer status;

    @ApiModelProperty(value = "检测时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "特殊参数的参数值数组JSON")
    private String data;

    @ApiModelProperty(value = "当前所在工位的工序序号")
    private Integer processIndex;
    /**
     * 是否合格 0 合格 1 不合格
     */
    private String  isQualified;
    /**
     * 阈值上限
     */
    private String  maxThreshold;
    /**
     * 阈值下限
     */
    private String  minThreshold;
}
